#!/bin/sh

BASEDIR=`dirname $0`

APP_HOME=$BASEDIR
APP_JAR=Note.FO.jar
APP_LIB=$APP_HOME/dependency

CLASSPATH=""
for jar in "$APP_LIB"/*.jar
do
	CLASSPATH="$CLASSPATH":"$jar"
done

cd $APP_HOME
nohup $JAVA_HOME/bin/java -jar $APP_HOME/$APP_JAR -classpath $CLASSPATH >$APP_HOME/nohup.log 2>&1 & 
